<!DOCTYPE html>
<html lang="zh-Hans-CN">
<head>
  <meta charset="utf-8">
  <title>💠 LayUI 扩展组件 by iTanken（子兮子兮）</title>
  <meta name="keywords" content="layui,JS组件,layui扩展,扩展组件">
  <meta name="description" content="基于 LayUI 的扩展组件">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <link rel="stylesheet" href="js/layui/css/layui.css"  media="all">
  <link rel="stylesheet" href="css/index.min.css" media="all">
</head>
<body class="site-home" id="LAY_home" style="background-color: #eee;" data-date="3-29">
<div class="layui-header header header-index" spring>
  <div class="">
    <a class="logo" href="#">
      <img src="img/logo.png" alt="layui">
    </a>
    <div class="layui-form component" lay-filter="LAY-site-header-component"></div>
    <ul class="layui-nav">
      <li class="layui-nav-item ">
        <a href="#doc">文档<!-- <span class="layui-badge-dot"></span> --></a> 
      </li>
    </ul>
  </div>
</div>
<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
<!--[if lt IE 9]>
  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]--> 
<div class="site-banner">
  <div class="site-banner-bg" style="background-image: url(); background-size: cover;">
  </div>
  <div class="site-banner-main">
    <div class="site-zfj">
      <i class="layui-icon" style="color: #fff; color: rgba(255,255,255,.7);">&#xe609;</i>
    </div>
    <div class="layui-anim site-desc">
      <p class="web-font-desc">Layui 扩展组件</p>
      <cite>由业余前端倾情打造...</cite>
    </div>
    <div class="site-download">
      <a href="https://github.com/iTanken/LayuiExtend/archive/master.zip" class="layui-inline site-down" target="_blank">
        <cite class="layui-icon">&#xe601;</cite> 立即下载
      </a>
    </div>
    <div class="site-version">
    </div>
    <div class="site-banner-other">
      <a href="https://github.com/iTanken/LayuiExtend/" target="_blank" class="site-star">
        <i class="layui-icon">&#xe658;</i> Star <cite id="getStars"></cite> 
      </a>
      <a href="https://github.com/iTanken/LayuiExtend/network/members" target="_blank" rel="nofollow" class="site-fork">
        <i class="layui-icon">&#xe62e;</i> Fork 
      </a>
    </div>
  </div>
</div>
<div class="layui-fluid" id="doc">
  <div class="layui-row layui-col-space10">
    <div class="layui-col-xs12 layui-col-sm6 layui-col-lg4">
      <div class="layui-card">
        <div class="layui-card-header">数字输入 number input</div>
        <div class="layui-card-body">
          <h3>示例：</h3>
          <div class="layui-form">
            <div class="layui-form-item">
              <input class="layui-input layui-input-number" min="-10" max="1000" step="1" data-prec="4" id="numberInput">
            </div>
            <blockquote class="layui-elem-quote layui-quote-nm">
              <p>支持数字键盘输入，退格键删除，上下左右键增加减小，+/- 键切换正负数。</p>
            </blockquote>
          </div>
        </div>
      </div>
    </div>
    <div class="layui-col-xs12 layui-col-sm6 layui-col-lg4">
      <div class="layui-card">
        <div class="layui-card-header">2</div>
        <div class="layui-card-body">
          <h3>示例：</h3>
          <div class="layui-form">
            ...
          </div>
        </div>
      </div>
    </div>
    <div class="layui-col-xs12 layui-col-sm6 layui-col-lg4">
      <div class="layui-card">
        <div class="layui-card-header">3</div>
        <div class="layui-card-body">
          <h3>示例：</h3>
          <div class="layui-form">
            ...
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="layui-footer footer footer-index">
  <div class="">
    <p>MIT license</p>
    <p>
      <a href="https://zixizixi.cn/" target="_blank">子兮子兮</a>
    </p>
  </div>
</div>
<div class="site-tree-mobile layui-hide">
  <i class="layui-icon">&#xe602;</i>
</div>
<div class="site-mobile-shade"></div>
<script src="js/layui/layui.js" charset="utf-8"></script>
<script>
layui.config({
  base: 'js/modules/', version: '1551352891272'
}).extend({
	numinput: 'numinput/numinput.min'
}).use(['form', 'numinput', 'code', 'util'], function() {
	var form = layui.form, numinp = layui.numinput, util = layui.util;
	numinp.init({rightBtns: true});
  
  util.fixbar();
	layui.code({ about: false, height: '500px' });
});
</script>
</body>
</html>
